package com.ys.service.business;

import com.ys.vo.R;

import java.util.List;
import java.util.Map;

/**
 *A+申请
 */
public interface TpProductActiveSqService {

	//申请新增
	R add(Map<String, Object> params, String subData) throws Exception ;

	//申请修改
	R update(Map<String, Object> params, String subData) throws Exception ;

	//申请删除
	R delete(Long id);

	//参数验证
	String checkParams(Map<String, Object> params, Long menuId) throws Exception ;

	R flowPass(Long id, String loginUserId) throws Exception;

	R flowRefuse(Long id, String reason, String loginUserId) throws Exception;

	R flowInit(Long id, String reason, String loginUserId) throws Exception;

	//获取列表数据
	Map<String,Object> getExtraParam( String bid) throws Exception;
}